package com.yc.springmvc.dao.impl;

import java.util.ArrayList;	
import java.util.List;

import com.yc.springmvc.core.annotation.Component;
import com.yc.springmvc.dao.IUserInfoDao;
import com.yc.springmvc.entity.UserInfo;

@Component
public class UserInfoDaoImpl implements IUserInfoDao{

	@Override
	public List<UserInfo> finds() {
		List<UserInfo> list = new ArrayList<UserInfo>();
		list.add(new UserInfo(101, "天天", "a", "15575486330"));
		list.add(new UserInfo(102, "dd", "a", "15575486330"));
		list.add(new UserInfo(103, "大大", "a", "15575486330"));
		list.add(new UserInfo(104, "小写", "a", "15575486330"));
		return list;
	}

}
